﻿using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace Syx.Webapi.AppCode.Entities {

	[JsonObject(MemberSerialization.OptIn), Table(Name = "TEMP_TODAY_ZY_BRXX", DisableSyncStructure = true)]
	public partial class TEMPTODAYZYBRXX {

		[JsonProperty, Column(DbType = "VARCHAR2(100 BYTE)")]
		public string 单位 { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(100 BYTE)")]
		public string 电话 { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(30 BYTE)")]
		public string 婚否状态 { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(100 BYTE)")]
		public string 就诊卡号 { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(100 BYTE)")]
		public string 职业 { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(100 BYTE)")]
		public string 主管医生编号 { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(100 BYTE)")]
		public string 住址 { get; set; }

		[JsonProperty]
		public short? AGE { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(20 BYTE)")]
		public string CARDID { get; set; }

		[JsonProperty, Column(Name = "DEPT_CODE", DbType = "VARCHAR2(30 BYTE)")]
		public string DEPTCODE { get; set; }

		[JsonProperty, Column(Name = "DEPT_NAME", DbType = "VARCHAR2(100 BYTE)")]
		public string DEPTNAME { get; set; }

		[JsonProperty, Column(Name = "DIAGNOSIS_NAME", DbType = "VARCHAR2(100 BYTE)")]
		public string DIAGNOSISNAME { get; set; }

		[JsonProperty, Column(Name = "DOCTOR_NAME", DbType = "VARCHAR2(200 BYTE)")]
		public string DOCTORNAME { get; set; }

		[JsonProperty, Column(Name = "IN_DATE", DbType = "DATE(7)")]
		public DateTime INDATE { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(50 BYTE)", IsNullable = false)]
		public string NAME { get; set; }

		[JsonProperty, Column(Name = "PATIENT_ID", DbType = "VARCHAR2(10 BYTE)")]
		public string PATIENTID { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(4 BYTE)")]
		public string SEX { get; set; }

		[JsonProperty, Column(Name = "VISIT_ID", DbType = "NUMBER(18,4)")]
		public decimal? VISITID { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(50 BYTE)")]
		public string ZYID { get; set; }

	}

}
